﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Reconciliation.Data
{
    public partial class Denomination
    {
        public static Domain.Denomination MapDataToDomain(Data.Denomination dataDenomination)
        {
            Domain.Denomination domainDenomination = new Reconciliation.Domain.Denomination();
            domainDenomination.DenominationCode = dataDenomination.DenominationCode ;
            domainDenomination.DenominationID = dataDenomination.DenominationID ;
            domainDenomination.DenominationType = dataDenomination.DenominationType ;
            domainDenomination.DenominationValue = dataDenomination.DenominationValue.Value ;
            domainDenomination.FitnessType = dataDenomination.FitnessType ;
            return domainDenomination;
        }
    }
}
